import Vue from 'vue'
import Vuex from 'vuex'
import buy from './module/buy'
import classify from './module/classify'
import detail from './module/detail'
import login from './module/login'
import peisong from './module/peisong'
import pl from './module/pl'
import reg from './module/reg'
import user from './module/user'
import xiaoshou from './module/xiaoshou'
Vue.use(Vuex)

export default new Vuex.Store({
    state:{},
    mutations:{},
    actions:{},
    modules:{
        xiaoshou,
        buy,
        detail,
        login,
        reg,
        pl,
        user,
        peisong,
        classify
    }
})